home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _4C81096BDE0746319DCBA6B52CC2D171 < prev    next >
Encoding:
Text File  |  2000-03-27  |  6.9 KB  |  216 lines

  1. #include "../common/header.ds"
  2. #include "tsr1.ds"
  3. output "p:/base/ds/tsr1"
  4.  
  5.  
  6. // this script starts the end cinematic
  7.  
  8.  
  9. local entity endcam1 // the first camera 
  10. local entity endcam1n // the first cameras null
  11. local entity endcam2 // the second camera
  12. local entity endcam2n // the second cameras null
  13. local entity endcam3 // the third camera
  14. local entity endcam3n // the third cameras null
  15. local entity endcam4  // the 4th camera
  16. local entity endcam4n // the 4th cameras null
  17. local entity endhawk1 // the hawk model for the end cinematic
  18. local entity endhawk1b // the hawk model for the end cinematic
  19. local entity endjohn1 // the john model used for the shots
  20. local entity endhawk2 // the hawk model for the end cinematic
  21. local entity endjohn2 // the john model used for the shots
  22.  
  23.  
  24. //Declare all of the camera and notnull entities
  25. local entity firstcam //first camera for the voice over
  26. local entity firstnull //first camera null for the voice over
  27. local entity secondcam //second camera for the voice over
  28. local entity secondnull //second camera null for the voice over
  29. local entity thirdcam //third camera for the voice over
  30. local entity thirdnull //third camera null for the voice over
  31. local entity fourthcam //fourth camera for the voice over
  32. local entity fourthnull //fourth camera null for the voice over
  33. local entity fifthcam //fifth camera for the voice over
  34. local entity fifthnull //fifth camera null for the voice over
  35. local entity endlevel // the end level trigger
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42. // ALL THE GUYS THAT COULD BE LEFT OVER FROM THE SPAWNER SCRIPT INCLUDING THE TRAIN GUYS
  43.  
  44. local entity endspawner1 // the first spawner at the end
  45. local entity endspawner2 // the second spawner at the end
  46. local entity endrightguy // the guy in the right alcove at the end of the tunnel
  47. local entity endleftguy // the guy in the left alcove at the end of the tunnel
  48. local entity rtskinhead1 // skinheads on the train
  49. local entity rtskinhead2 // skinheads on the train
  50. local entity rtskinhead3 // skinheads on the train
  51. local entity testfade // the func fade to black
  52. local entity testfade2 // the func fade that brings it back to normal
  53.  
  54. //Declare all of the signaling integers
  55. local int sig1 //first signaling integer
  56. local int sig2 //second signaling integer
  57. local int sig3 //third signaling integer
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. cache sound "cin/tsr1/c8d1.adp"
  66. cache sound "cin/tsr1/c8d2.adp"
  67. // cache sound "cin/tsr1/c8d3.adp"
  68. cache sound "cin/tsr1/c9d1.adp"
  69. cache sound "cin/tsr1/c9d2.adp"
  70. cache sound "cin/tsr1/c9d3.adp"
  71. // cache sound "Enemy/So1/Sib1/Wake4.wav"
  72.  
  73. endcam1 = find entity with targetname "endcam1"
  74. enable cinematics 
  75. use entity endcam1
  76.  
  77. endcam1n = find entity with targetname "endcam1n"
  78. endcam2 = find entity with targetname "endcam2"
  79. endcam2n = find entity with targetname "endcam2n"
  80. endcam3 = find entity with targetname "endcam3"
  81. endcam3n = find entity with targetname "endcam3n"
  82. endcam4 = find entity with targetname "endcam4"
  83. endcam4n = find entity with targetname "endcam4n"
  84. endhawk1 = find entity with targetname "endhawk1"
  85. endhawk1b = find entity with targetname "endhawk1b"
  86. endjohn1 = find entity with targetname "endjohn1"
  87. endhawk2 = find entity with targetname "endhawk2"
  88. endjohn2 = find entity with targetname "endjohn2"
  89.  
  90.  
  91.  
  92. endspawner1 = find entity with targetname "endspawner1"
  93. endspawner2 = find entity with targetname "endspawner2"
  94. endrightguy = find entity with targetname "endrightguy"
  95. endleftguy = find entity with targetname "endleftguy"
  96. rtskinhead1 = find entity with targetname "rtskinhead1"
  97. rtskinhead2 = find entity with targetname "rtskinhead2"
  98. rtskinhead2 = find entity with targetname "rtskinhead2"
  99.  
  100. testfade = find entity with targetname "testfade"
  101. testfade2 = find entity with targetname "testfade2"
  102.  
  103.  
  104.  
  105. endcam1.movetype = MOVETYPE_NOCLIP
  106. endcam1n.movetype = MOVETYPE_NOCLIP
  107. endcam2.movetype = MOVETYPE_NOCLIP
  108. endcam2n.movetype = MOVETYPE_NOCLIP
  109. endcam3.movetype = MOVETYPE_NOCLIP
  110. endcam3n.movetype = MOVETYPE_NOCLIP
  111. endcam4.movetype  = MOVETYPE_NOCLIP
  112. endcam4n.movetype = MOVETYPE_NOCLIP
  113.  
  114.  
  115. //  REMOVE ALL THE GUYS FROM THE LAST SCRIPT,  DONT KNOW IF THIS WILL WORK?
  116.  
  117. remove entity endspawner1
  118. remove entity endspawner2
  119. remove entity endleftguy
  120. remove entity endrightguy
  121. remove entity rtskinhead1
  122. remove entity rtskinhead2
  123. remove entity rtskinhead3
  124.  
  125.  
  126.  
  127. // first shot if hawk running into the camera view in the tunnel
  128.  
  129. use entity testfade2 // fade in from black to show hawk
  130.  
  131. use entity endhawk1 // spawns him in
  132. // use entity endcam1 // should turn on the camera
  133. animate entity endhawk1 performing action STD_R_N_PK_N by moving [0, -242, 0] signaling sig1 // shows hawk running towards the camera
  134. wait for all clearing sig1
  135.  
  136.  
  137.  
  138. // third shot of hawk stepping into the frame
  139.  
  140. use entity endjohn1 // spawns john in for the shot
  141. use entity endhawk1b //spawns the other hawk model in for the shot
  142. wait .1 seconds // NEW CHANGE
  143.  
  144. remove entity endhawk1 // gets old hawk out
  145.  
  146. use entity endcam3 // turns on the second shot
  147.  
  148. move entity endcam3 to [1816, -1882, -476] at 65 speed 
  149. move entity endcam3n to [1822, -1874, -476] at 65 speed 
  150. animate entity endhawk1b performing action STD_R_N_PK_N by moving [0, -256, 0]   // hawk running into this shot
  151. animate entity endjohn1 performing action STD_IETALKPOSE_N_A_N holding for 6.0
  152. wait 1.2 seconds // delay for hawk to stop running
  153.  
  154.  
  155.  
  156. // hawk talking during this shot
  157.  
  158. animate entity endhawk1b showing emotion EMOTION_TALK holding for 2.5  // Hawks talking animation 
  159. animate entity endhawk1b performing action STD_ETALKLEFT_N_A_N holding for .4 
  160. animate entity endhawk1b performing action STD_ETALK_N_A_N holding for 2.1
  161.  
  162.     play sound "cin/tsr1/c8d1.adp" for entity endhawk1b at volume 0.9 on channel CHAN_AUTO
  163.     print TSR1_C8D1
  164.     // "This ones over John .."
  165.  
  166. wait 2.5 seconds
  167.  
  168.  
  169.  
  170. // 4th shot of them running back up the tracks
  171.  
  172. use entity endhawk2 // triggers the other endhawk in
  173. use entity endjohn2 // triggers the other end john in
  174. wait .1 seconds  // NEW STUFF
  175.  
  176. use entity endcam3 // shuts the second shut off
  177. remove entity endhawk1b
  178.  
  179. use entity endcam4 // triggers on that last camera
  180. wait .1 seconds // magic delay for shot
  181.  
  182. animate entity endhawk2 performing action STD_R_N_PK_N by moving [0, 600, 0] 
  183. animate entity endjohn2 performing action STD_R_N_PK_N by moving [0, 600, 0]
  184.  
  185.     play sound "cin/tsr1/c8d2.adp" for entity endjohn2 at volume 0.9 on channel CHAN_AUTO
  186.     print TSR1_C8D2    
  187.     //  "Something big has happened" captioned
  188.     wait 4 seconds 
  189.  
  190. use entity testfade // triggers the fade out
  191. wait 1.5 seconds 
  192.  
  193.  
  194. disable cinematics
  195.  
  196.  
  197.  
  198.  
  199. unload sound "cin/tsr1/c8d1.adp"
  200. unload sound "cin/tsr1/c8d2.adp"
  201. // unload sound "cin/tsr1/c8d3.adp"
  202. unload sound "cin/tsr1/c9d1.adp"
  203. unload sound "cin/tsr1/c9d2.adp"
  204. unload sound "cin/tsr1/c9d3.adp"
  205.  
  206. // setcvar cvar "scr_blank" to 1.0
  207.  
  208. setcvar cvar "menu_nextmap" to "tsr2"
  209. run console command "intermission acc2"
  210.  
  211. // use entity endlevel // starts the next level
  212.  
  213.  
  214.  
  215. exit
  216.